<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>P149 7.1.3 DOM对象的继承关系</title>
</head>

<body>
    <div id="test"></div>
    <script>
        var test = document.getElementById('test');
        console.log(test);
        console.log(test._proto_);
    </script>
    <div id="test"></div>
    <script>
        var test = document.getElementById('test');
        console.log(test.nodeName);
        console.log(test.tagName);
        console.log(document.nodeName);
        console.log(document.tagName);
    </script>
    <a href="../首页/page07.html">
        <h2>返回上一页面</h2>
    </a>
</body>

</html>